.earth-2d-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  overflow: hidden;
}

.earth-2d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  cursor: grab;
  /* 优化Canvas渲染质量 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  /* 确保文字清晰度 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.earth-2d-canvas:active {
  cursor: grabbing;
}

.earth-2d-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
}

.earth-2d-controls button {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.earth-2d-controls button:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #999;
}

.earth-2d-controls button:active {
  background: #e6e6e6;
}

/* 选择模式提示 */
.earth-2d-container.selecting::after {
  content: "按住 Ctrl/Cmd + 左键拖拽进行区域选择";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  pointer-events: none;
  z-index: 100;
} 